/**
 * Created by TRwin7SP1 on 2016/7/26.
 */
(function(lm){
    lm=lm||{};
    var msg={};
    msg["zh_cn"] = {
        viewer:{
            CSHC_E_INVAL:{
                code:"",
                longMsg:"xxxxx",
                shortMsg:"xxxxxxxx",
                description:"xxxxxxxxxxxxxx"
            }
        },
        page:{},
        interface:{
            default:{
              success:{

              },
              error:{
                  code:"NETWORK_ERROR",
                  shortMsg:"网络错误",
                  longMsg:"网络错误,请联系管理员",
                  description:"您的网络出现问题了，请您联系管理人员，或者拨打电话：400-000-0000"
              }
            },
            getImagebyID:{
                success:{
                },
                error:{
                    txt:"影像服务器连接错误，请联系客服。"
                }
            },
            getConfig:{
                success:{
                },
                error:{
                    code:"NETWORK_ERROR",
                    shortMsg:"网络错误",
                    longMsg:"网络错误,请联系管理员",
                    description:"您的网络出现问题了，请您联系管理人员，或者拨打电话：400-000-0000"
                }
            },

        },
    },
    msg["en"] = {
        viewer:{
            CSHC_E_INVAL:{
                code:"",
                longMsg:"xxxxx",
                shortMsg:"xxxxxxxx",
                description:"xxxxxxxxxxxxxx"
            }
        },
        page:{},
        interface:{
            default:{
                success:{

                },
                error:{
                    code:"NETWORK_ERROR",
                    shortMsg:"network Error",
                    longMsg:"Network error, please contact the administrator",
                    description:"Your network has a problem, please contact the management staff, or call: 400-000-0000"
                }
            },
            getImagebyID:{
                success:{
                },
                error:{
                    txt:"影像服务器连接错误，请联系客服。"
                }
            },
            getConfig:{
                success:{
                },
                error:{
                    code:"NETWORK_ERROR",
                    shortMsg:"网络错误",
                    longMsg:"网络错误,请联系管理员",
                    description:"您的网络出现问题了，请您联系管理人员，或者拨打电话：400-000-0000"
                }
            },

        },
    },
    lm.msg= msg;
})(lm);

var language = "zh_cn";
// var language = "zh_cn";
var msgInfo =lm.msg[language].interface.default.error.description;
var shortMsg =lm.msg[language].interface.default.error.shortMsg;
// console.log(language+":msgInfo:"+msgInfo);
// console.log(language+":msgInfo:"+shortMsg);



